Skip to content

Remove safe option from collection creation tests#11

Open
tfogo wants to merge 1 commit intocarbon-io:masterfrom
tfogo:tf-fix-test-mongo34
Open

Remove safe option from collection creation tests#11
tfogo wants to merge 1 commit intocarbon-io:masterfrom
tfogo:tf-fix-test-mongo34

Conversation

@tfogo
Copy link
Copy Markdown
Contributor

@tfogo tfogo commented Aug 23, 2017

safe was deprecated a while ago. Sending it to MongoDB as an option was no problem for versions <3.4 because it simply wasn't used and the server didn't care. But using this option will throw errors for MongoDB server 3.4 due to new stricter validation of options: https://docs.mongodb.com/manual/release-notes/3.4-compatibility/#stricter-validation-of-index-specifications

@tfogo tfogo changed the title Remove safe option from collection creation Remove safe option from collection creation tests Aug 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant